.header {
  display: flex;
  padding: 10px 10px 10px 30px;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06);

  .zoom {
    span {
      padding: 0 10px;
    }

    height: 40px;
    line-height: 40px;
    width: 125px;
    z-index: 10;
    display: flex;

    .zoom-in,
    .zoom-out {
      width: 30px;
      height: 30px;
      margin-top: 5px;
      background: #fff;
      color: #c1c1cd;
      cursor: pointer;
      background-size: 100%;
      background-repeat: no-repeat;
    }

    .zoom-out {
      background-image: url(https://gw.alicdn.com/tfs/TB1s0qhBHGYBuNjy0FoXXciBFXa-90-90.png);
    }

    .zoom-out.disabled {
      opacity: 0.5;
    }

    .zoom-in {
      background-image: url(https://gw.alicdn.com/tfs/TB1UIgJBTtYBeNjy1XdXXXXyVXa-90-90.png);
    }

    .zoom-in.disabled {
      opacity: 0.5;
    }
  }
}

.btn-style {
  position: fixed;
  right: 60px;
}

.workflow {
  width: 100%;
}

.approval-flow {
  .dingflow-design {
    padding-top: 20px;
    padding-bottom: 100px;

    .box-scale {
      display: inline-block;
      position: relative;
      width: 100%;
      padding: 54.5px 0px;
      align-items: flex-start;
      justify-content: center;
      flex-wrap: wrap;
      min-width: min-content;

      .node-wrap-box {
        display: inline-flex;
        flex-direction: column;
        position: relative;
        width: 280px;
        min-height: 72px;
        flex-shrink: 0;
        background: rgb(255, 255, 255);
        border-radius: 4px;
        cursor: pointer;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
        .title {
          margin: 0;
        }
      }

      .node-wrap-box:after {
        pointer-events: none;
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2;
        border-radius: 4px;
        border: 1px solid transparent;
        transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
      }

      .end-node {
        justify-content: center;
        flex-direction: column;

        p {
          width: 280px;
          height: 40px;
          line-height: 40px;
          color: #fff;
          text-align: center;
          background-color: #8cafff;
          border-radius: 4px;
          font-size: 14px;
        }
      }
    }
  }
}

.fd-nav-content {
  //   position: fixed;
  //   top: 60px;
  //   left: 0;
  //   right: 0;
  //   bottom: 0;
  //   z-index: 1;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 15px;
}

.dingflow-design {
  min-height: 100%;
  width: 100%;
  background-color: #f5f8ff;
  overflow: auto;
  //   position: absolute;
  //   bottom: 0;
  //   left: 0;
  //   right: 0;
  //   top: 0;
}

.editable-title {
  font-size: 14px;
  padding-left: 18px;
}

.dingflow-design .ie-polyfill-container {
  display: -ms-grid;
  -ms-grid-columns: min-content;
}

.dingflow-design .node-wrap {
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  // padding: 0 50px;
  position: relative;
}

.dingflow-design .branch-wrap,
.dingflow-design .node-wrap {
  display: inline-flex;
  // width: 100%;
}

.dingflow-design .auto-judge.active:after,
.dingflow-design .auto-judge:active:after,
.dingflow-design .auto-judge:hover:after {
  border: 1px solid #4880ff;
  box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3);
}

.dingflow-design .auto-judge.active .close,
.dingflow-design .auto-judge:active .close,
.dingflow-design .auto-judge:hover .close {
  display: block;
}

.dingflow-design .auto-judge.error:after {
  border: 1px solid #f25643;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}

.dingflow-design .auto-judge .title-wrapper .editable-title {
  display: inline-block;
  // max-width: 120px;
  // overflow: hidden;
  // white-space: nowrap;
  // text-overflow: ellipsis;
  font-size: 14px;
}

.dingflow-design .auto-judge .title-wrapper .priority-title {
  display: inline-block;
  float: right;
  margin-right: 25px;
  color: #828282;
}

.dingflow-design .auto-judge .title-wrapper .priority-button {
  display: inline-block;
  height: 28px;
  float: right;
  margin-right: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.65);
}

.dingflow-design .auto-judge .title-wrapper .priority-button div {
  display: inline-block;
}

.dingflow-design .auto-judge .title-wrapper .priority-button .priority-content {
  padding: 0 8px;
  font-size: 12px;
  line-height: 28px;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.dingflow-design .auto-judge .placeholder {
  color: #bfbfbf;
}

.dingflow-design .auto-judge .close {
  display: none;
  position: absolute;
  right: 12px;
  top: 9px;
  width: 20px;
  height: 20px;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  z-index: 2;
}

.dingflow-design .auto-judge .content {
  // padding: 15px 26px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

.dingflow-design .auto-judge .text {
  min-height: 22px;
}

.dingflow-design .auto-judge .sort-left,
.dingflow-design .auto-judge .sort-right {
  position: absolute;
  top: 0;
  bottom: 0;
  display: none;
  z-index: 1;
  color: rgba(0, 0, 0, 0.25);
}

.dingflow-design .auto-judge .sort-left {
  left: 8px;
  top: 35px;
}

.dingflow-design .auto-judge .sort-right {
  right: 26px;
  top: 35px;
}

.dingflow-design .auto-judge:hover .sort-left,
.dingflow-design .auto-judge:hover .sort-right {
  display: flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.5);
}

.dingflow-design .add-node-btn {
  user-select: none;
  width: 240px;
  padding: 30px 0;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-box-flex: 1;
  flex-grow: 1;
}

.dingflow-design .add-node-btn .btn {
  outline: none;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  width: 30px;
  height: 30px;
  background: #4880ff;
  border-radius: 50%;
  position: relative;
  border: none;
  line-height: 30px;
  -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.dingflow-design .add-node-btn .btn .iconfont {
  color: #fff;
  font-size: 16px;
}

.dingflow-design .add-node-btn .btn:hover {
  transform: scale(1.3);
  box-shadow: 0 13px 27px 0 rgba(0, 0, 0, 0.1);
}

.dingflow-design .add-node-btn .btn:active {
  transform: none;
  background: #1e83e9;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.top-left-cover-line {
  left: -1px;
}

.top-left-cover-line,
.top-right-cover-line {
  position: absolute;
  height: 3px;
  width: 50%;
  background-color: #f5f8ff;
  top: -2px;
}

.top-right-cover-line {
  right: -1px;
}

.bottom-left-cover-line {
  left: -1px;
}

.bottom-left-cover-line,
.bottom-right-cover-line {
  position: absolute;
  height: 3px;
  width: 50%;
  background-color: #f5f8ff;
  bottom: -2px;
}

.bottom-right-cover-line {
  right: -1px;
}

.node-wrap-box.active:after,
.node-wrap-box:active:after,
.node-wrap-box:hover:after {
  border: 1px solid #3296fa;
  box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3);
}

.node-wrap-box.active .close,
.node-wrap-box:active .close,
.node-wrap-box:hover .close {
  display: block;
}

.node-wrap-box.error:after {
  border: 1px solid #f25643;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}

.node-wrap-box .title {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 0px;
  // padding-right: 30px;
  // width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  color: #fff;
  text-align: left;
  background: #576a95;
  border-radius: 4px 4px 0 0;
}

.node-wrap-box .title .iconfont {
  font-size: 12px;
  margin-right: 5px;
}

.node-wrap-box .placeholder {
  color: #bfbfbf;
}

.node-wrap-box .close {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  font-size: 14px;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
}

.node-wrap-box .content {
  position: relative;
  font-size: 14px;
  padding: 15px 18px;
  /* padding-right: 30px */
}

.node-wrap-box .content .text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  padding-bottom: 5px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.node-wrap-box .content .arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 14px;
  font-size: 14px;
  color: #979797;
}

.start-node.node-wrap-box .content .text {
  display: block;
  white-space: nowrap;
}

.node-wrap {
  display: inline-flex;
  width: 100%;
  flex-flow: column wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 0px 50px;
  position: relative;
  z-index: 1;
}
.add-node-btn-box-mask {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2025;
  width: 100%;
  height: 100%;
}
.add-node-btn-box {
  width: 240px;
  display: inline-flex;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.add-node-btn-box:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
  margin: auto;
  width: 2px;
  height: 100%;
  // background-color: rgb(202, 202, 202);
  background-color: #c7c7c7;
}

.add-node-btn {
  user-select: none;
  width: 240px;
  padding: 20px 0px 32px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  flex-grow: 1;
}

.add-branch {
  justify-content: center;
  padding: 0px 10px;
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center center;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}

.branch-wrap {
  display: inline-flex;
  width: 100%;
}

.branch-box-wrap {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  min-height: 270px;
  width: 100%;
  flex-shrink: 0;
}

.col-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: #f5f8ff;
}

.branch-box {
  display: flex;
  overflow: visible;
  min-height: 180px;
  height: auto;
  border-bottom: 2px solid #c7c7c7;
  border-top: 2px solid #c7c7c7;
  position: relative;
  margin-top: 15px;
}

.branch-box .col-box::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 0;
  margin: auto;
  width: 2px;
  height: 100%;
  // background-color: rgba(0, 0, 0, 0.05);
  background-color: #c7c7c7;
}

.condition-node {
  display: inline-flex;
  flex-direction: column;
  min-height: 220px;
}

.condition-node-box {
  padding-top: 30px;
  padding-right: 50px;
  padding-left: 50px;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  position: relative;
  display: inline-flex;
  flex-direction: column;
}

.auto-judge {
  position: relative;
  width: 280px;
  // min-height: 100px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;

  .title-wrapper {
    position: relative;
    font-size: 12px;
    color: #333;
    text-align: left;
    height: 38px;
    line-height: 38px;
    padding: 0 13px 0 0px;
    border-bottom: 1px solid #ebebeb;

    color: #fff;
  }
}

.auto-judge:after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  border-radius: 4px;
  transition: all 0.1s;
}

.auto-judge:hover:after {
  border: 1px solid #3296fa;
  box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3);
}

.node-wrap-box:after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  border-radius: 4px;
  transition: all 0.1s;
}

.node-wrap-box:hover:after {
  border: 1px solid #3296fa;
  box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3);
}

// editor的样式

.flex {
  display: flex;
}

.edit_button {
  margin-left: 10px;
}

.default-style {
  margin-left: 25px;
}

.search-style {
  label {
    width: 50px !important;
  }

  .el-row {
    padding-right: 0px !important;
  }

  .el-form-item__content {
    margin-left: 50px !important;
  }
}

.flex-style {
  display: flex;
  justify-content: space-between;
}

.dang-style {
  font-size: 14px;
}

.dialog-style {
  z-index: 99999 !important;
  background: rgba(0, 0, 0, 0.5);
}

.v-modal {
  background: none !important;
  z-index: -1 !important;
}

.el-drawer:focus,
.el-drawer__close-btn:focus {
  outline: none;
}

.el-dialog__title {
  font-size: 18px !important;
  font-weight: 600 !important;
}

//弹框
.set_promoter {
  .el-drawer__header {
    margin-bottom: 0;
    padding: 0 24px;
    border-bottom: 1px solid #ebebeb;

    .title {
      height: 60px;
      line-height: 60px;
      font-size: 20px;
      color: #333;
      justify-content: flex-start;
      margin: 0;
      i {
        margin-left: 8px;
        font-size: 30px;
      }

      .el-input {
        width: 80%;
      }
    }
  }

  .el-drawer__body {
    overflow-y: auto;
    max-height: calc(100% - 64px);
    padding-bottom: 80px;
  }

  .drawer-content {
    padding: 0 24px;

    .el-radio {
      margin-bottom: 16px;

      .mark {
        color: #828282;
      }

      &.is-checked {
        .mark {
          color: #4880ff;
        }
      }

      &:last-child {
        margin-bottom: 0;
      }
    }
  }

  .drawer-content-condition {
    padding: 24px 0;

    .condition-conent-group {
      border-bottom: solid 1px #ebebeb;
      padding-bottom: 20px;

      .condition-group-title {
        padding: 0 24px;
        background: #f7f8fa;
        height: 48px;
        border-top: solid 1px #ebebeb;
        border-bottom: solid 1px #ebebeb;
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .condition-group-select {
        padding: 0 24px;
      }

      .remove {
        color: #828282;

        &:hover {
          cursor: pointer;
          color: #4880ff;
        }
      }

      .mg-bot-10 {
        margin-bottom: 10px;
      }

      .conditionbtn {
        .el-button {
          border: 1px dashed #4880ff;
          width: 110px;
        }
      }
    }

    .conditionbtn {
      padding: 0 24px;
      margin-top: 26px;

      .el-button {
        border: solid 1px #4880ff;
        color: #4880ff;
        width: 123px;
      }
    }
  }

  .set_promoter_footer {
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 24px;
    justify-content: flex-end;
    background: #fff;
    width: 100%;
    border-top: 1px solid #ebebeb;
    z-index: 2;

    .el-button {
      line-height: 0px;
    }
  }

  .icon-icon_explain {
    color: #bfbfbf;
  }
}

.form {
  padding: 10px 20px;

  .el-form-item__label {
    font-weight: 700;
  }

  .mb-20 {
    margin-bottom: 20px;
  }

  .w-100 {
    width: 100%;
  }
}
.policy_canvas {
  width: 100%;
  height: 100%;
}
.strategy_canvas {
  position: relative;
  width: 100%;
  height: calc(100vh - 84px);
}
.operation_btn {
  height: 46px;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  & > span {
    font-size: 18px;
    font-weight: 600;
  }
  .btn-style {
    width: 60px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;

    // position: absolute;
    // right: 60px;
  }
}
.policy_configuration {
  height: calc(100vh - 130px);
  .left-content {
    height: 100%;
    padding-bottom: 15px;
  }
  .policy_canvas {
    width: 100%;
    height: 100%;
  }
  .el-row {
    height: 100%;
    .el-col {
      height: 100%;
      .el-collapse {
        height: 100%;
      }
    }
  }
}
.el-collapse-item .el-collapse-item__content .left_content_box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 5px;
  padding-top: 1px;

  .left_content_item {
    width: 50%;
    height: 60px;
    padding-top: 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #c2c2c2;
    font-size: 10px;
    margin-left: -1px;
    margin-top: -1px;
    img {
      width: 20px;
      height: 20px;
      margin-bottom: 3px;
    }
  }
}
